package vmcs.factory;

import vmcs.utility.CashPropertyLoader;
import vmcs.utility.DrinkPropertyLoader;
import vmcs.utility.PropertyLoader;

public class PropertyLoaderFactory {
	
	public static PropertyLoader createPropertyLoader(PropertyLoaderType loaderType, String file){
		
		PropertyLoader loader=null;
		switch (loaderType){
		
		case CASH:
			loader= new CashPropertyLoader(file);
			break;
			
		case DRINK:
			loader=new DrinkPropertyLoader(file);
			break;
		
		}
		
		return loader;
		
	}

}
